package com.security.frame.core.properties;

import com.security.frame.core.common.CommonConstants;
import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

/**
 * 通用配置
 *
 * @author wangjie
 * @version V1.0
 * @date 2019/11/4
 */
@Component("common")
@Getter
@Setter
public class CommonProperties {

    /**
     * 默认登陆页面
     */
    private String loginPage = CommonConstants.DEFAULT_LOGIN_PAGE_URL;
    /**
     * 默认登陆页面
     */
    private String logoutPage = CommonConstants.DEFAULT_LOGIN_PAGE_URL;

    private int rememberMeSeconds = 3600;

    private String signUpUrl = "/signUp.html";

    private String form_prefix = "farmer_";

    private String storeType;

}
